/* eslint-disable vue/name-property-casing */ReturnOrder
<template>
  <div>
    <h1>
      数量ext{{ff}}
    </h1>
    <button @click="add">
      加
    </button>
    <slot name="dialog" />
    <div class="a">
      <ul>
         <li v-for="(item,index) in 50" :key="index"> {{index}}</li>
      </ul>
    </div>
  </div>
</template>

<script>
import BScroll from '@better-scroll/core'

export default {
  name:'testDemoExt',
  data() {
    return {
      ff:999
    }
  },
  mounted() {
    const bs = new BScroll('.div',{
      scrollY: true,
      click: true
    })
    console.log(43,bs)
  }
}
</script>

<style>
.a {
  width: 400px;
  height: 400px;
  background-color: red;
}
li{
  width: 100%;
  height: 50px;
}
</style>
